home *** CD-ROM | disk | FTP | other *** search
- <HTML id=dlgFind STYLE="font-family: ms sans serif; font-size: 8pt;
- width: 42em; height: 23em">
- <HEAD>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <TITLE id=dialogTitle>
- Internet Explorer Script Error
- </TITLE>
- <SCRIPT LANGUAGE="JavaScript" defer>
- window.onerror = HandleError
- function HandleError(message, url, line)
- {
- var L_Dialog_ErrorMessage = "An error has occurred in this dialog.";
- var L_ErrorNumber_Text = "Error: ";
- var str = L_Dialog_ErrorMessage + "\n\n"
- + L_ErrorNumber_Text + line + "\n"
- + message;
- alert (str);
- window.close();
- return true;
- }
- function loadBdy()
- {
- var L_ContinueScript_Message = "Do you want to continue running scripts on this page?";
- var objOptions = window.dialogArguments;
- btnNo.onclick = new Function("btnOKClick()");
- btnYes.onclick = new Function("btnYesClick()");
- document.onkeypress = new Function("docKeypress()");
- spnLine.innerText = objOptions.errorLine;
- spnCharacter.innerText = objOptions.errorCharacter;
- spnError.innerText = objOptions.errorMessage;
- spnCode.innerText = objOptions.errorCode;
- if (!objOptions.errorDebug)
- {
- divDebug.innerText = L_ContinueScript_Message;
- }
- btnYes.focus();
- }
- function btnOKClick()
- {
- window.close();
- }
- function btnYesClick()
- {
- window.dialogArguments.errorDebug = true;
- window.close();
- }
- function docKeypress()
- {
- var L_AffirmativeKeyCodeLowerCase_Number = 121;
- var L_AffirmativeKeyCodeUpperCase_Number = 89;
- var L_NegativeKeyCodeLowerCase_Number = 110;
- var L_NegativeKeyCodeUpperCase_Number = 78;
- var intKeyCode = window.event.keyCode;
- if (intKeyCode == L_AffirmativeKeyCodeLowerCase_Number
- || intKeyCode == L_AffirmativeKeyCodeUpperCase_Number)
- {
- btnYesClick();
- }
- if (intKeyCode == L_NegativeKeyCodeLowerCase_Number
- || intKeyCode == L_NegativeKeyCodeUpperCase_Number)
- {
- btnOKClick();
- }
- }
- </SCRIPT>
- </HEAD>
- <BODY ID=bdy onLoad="loadBdy()" style="font-family: 'ms sans serif';
- font-size: 8pt; background: threedface;" topmargin=0>
- <CENTER>
- <table cellPadding=3 cellspacing=3 border=0 id=tbl1
- style="background: buttonface; font-family: ms sans serif; font-size: 8pt;">
- <TR>
- <TD>
- <img src=warning.gif width=36 height=38 border=0 align=middle>
- </TD>
- <TD>
- An error has occurred in the script on this page.
- </TD>
- </TR>
- </TABLE>
- </CENTER>
- <DIV id=divTop style="background: threedface; font-family: ms sans serif;
- font-size: 8pt; margin-left: 1.5em">
- <TABLE border=0 id=tbl2
- style="background: buttonface; font-family: ms sans serif; font-size: 8pt;
- margin-left: 1em">
- <TR valign=top>
- <TD nowrap>
- Line:
- </TD>
- <TD>
- <SPAN id=spnLine></SPAN>
- </TD>
- </TR>
- <TR valign=top>
- <TD nowrap>
- Char:
- </TD>
- <TD>
- <SPAN id=spnCharacter></SPAN>
- </TD>
- </TR>
- <TR valign=top>
- <TD nowrap>
- Error:
- </TD>
- <TD>
- <DIV id=spnError style="background: threedface;
- font-family: ms sans serif; font-size: 8pt; width: 31em;"></DIV>
- </TD>
- </TR>
- <TR valign=top>
- <TD nowrap>
- Code:
- </TD>
- <TD>
- <SPAN id=spnCode></SPAN>
- </TD>
- </TR>
- </TABLE>
- </DIV>
- <DIV id=divDebug style="background: threedface; position: absolute;
- font-family: ms sans serif; font-size: 8pt; top: 15em;
- text-align: center;">
- Do you want to debug the current page?
- </DIV>
- <DIV id=divButttons style="background: buttonface; position: absolute;
- font-family: ms sans serif; font-size: 8pt; top: 17.5em">
- <CENTER>
- <BUTTON ID=btnYes style="font-family: ms sans serif; font-size: 8pt;
- width: 3.8em; height: 2.2em;" type=submit accesskey=y>
- <U>Y</U>es
- </BUTTON>
-
- <BUTTON ID=btnNo style="font-family: ms sans serif; font-size: 8pt;
- width: 3.8em; height: 2.2em" type=reset accesskey=n>
- <U>N</U>o
- </BUTTON>
- </CENTER>
- </DIV>
- </BODY>
- </HTML>
-